<template>
  <a-card :bordered="false">
    <ProcessTable
      :modelId="modelId"
      :businessId="businessId"
      :sourceCategory="sourceCategory"
    />
  </a-card>
</template>
<script>
import ProcessTable from './modules/ProcessTable'
export default {
  name: 'ProcessList',
  components: { ProcessTable },
  data() {
    return {
      rootUrLReplace: '/ProcessList/', // 根据这个截取url参数
      businessId: '',
      sourceCategory: '',
      modelId: ''
    }
  },
  created() {
    const id = this.$route.path.replace(this.rootUrLReplace, '')
    this.modelId = id
    this.businessId = this.$route.query.id
    this.sourceCategory = this.$route.query.type
  },
  methods: {

  }
}
</script>
<style lang="less" scoped>

</style>
